package com.wsx.ones.monitor.core.model;

import com.wsx.ones.monitor.core.Bean;
import com.wsx.ones.monitor.core.MessageType;

/**
 * Created by wangshuaixin on 17/2/3.
 */
public class RpcResponse extends Bean {

    private static final long serialVersionUID = -7551437065046086648L;

    private String requestId;
    private Integer status;
    private String message;
    private Object resultVal;

    public RpcResponse () {
        setMessageType(MessageType.TRANSDATA_RESP);
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getResultVal() {
        return resultVal;
    }

    public void setResultVal(Object resultVal) {
        this.resultVal = resultVal;
    }
}
